package com.xyx.service;

import com.xyx.model.vo.article.DeleteArticleReqVO;
import com.xyx.model.vo.article.FindArticleDetailReqVO;
import com.xyx.model.vo.article.FindArticlePageListReqVO;
import com.xyx.model.vo.article.PublishArticleReqVO;
import com.xyx.model.vo.article.UpdateArticleReqVO;
import com.xyx.utils.Response;

/**
 * 描述：<一句话描述功能>
 *
 * @author：xiayixiang
 * @date: 20:22
 */
public interface AdminArticleService {

    /**
     * 发布文章
     *
     * @param publishArticleReqVO
     * @return
     */
    Response publishArticle(PublishArticleReqVO publishArticleReqVO);

    /**
     * 删除文章
     *
     * @param deleteArticleReqVO
     * @return
     */
    Response deleteArticle(DeleteArticleReqVO deleteArticleReqVO);

    /**
     * 查询文章分页数据
     *
     * @param findArticlePageListReqVO
     * @return
     */
    Response findArticlePageList(FindArticlePageListReqVO findArticlePageListReqVO);

    /**
     * 查询文章详情
     *
     * @param findArticleDetailReqVO
     * @return
     */
    Response findArticleDetail(FindArticleDetailReqVO findArticleDetailReqVO);

    /**
     * 更新文章
     *
     * @param updateArticleReqVO
     * @return
     */
    Response updateArticle(UpdateArticleReqVO updateArticleReqVO);
}

